<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:p="http://primefaces.prime.com.tr/ui">
	<f:loadBundle basename="zsm.opisy" var="wartosc"/>
	<p:panel header="Login Form" style="width: 350;">
         <h:form>
             <h:panelGrid columns="2" cellpadding="2">
             </h:panelGrid>
         </h:form>
     </p:panel>
     <center>
<f:view >
	<a4j:form>
		<rich:panel>
        <f:facet name="header">
        	<h:outputText value="Zgłoszenie udziału w opiece #{zgloszenie.koncowkaopisu}"/>
        </f:facet>
        <h:panelGrid columns="3" title="user" rowClasses="s1row" columnClasses="wfcol1,wfcol2,wfcol3">
        	<h:outputText value="*Nazwisko " />
			<h:inputText  value="#{zgloszenie.name}" id="name" required="true">
			</h:inputText>
			<rich:message for="name" />
			
			<h:outputText value="*Imie " />
			<h:inputText value="#{zgloszenie.haslo}" id="haslo" required="true"/>
			<rich:message for="haslo" />
			
			<h:outputText value="*Telefon " />
			<h:inputText value="" id="email12" required="true"/>
			<rich:message for="email12" />
			
			<h:outputText value="E-mail " />
			<h:inputText value="#{zgloszenie.email}" id="email" required="true"/>
			<rich:message for="email" /> 
			</h:panelGrid>
			<h:commandLink  value="#{wartosc.przyciskdodaj}" /><br/><!-- </br> -->
			<h:commandLink  action="homeside" value="#{wartosc.przyciskwrocdoglownej}" />
    	</rich:panel>
	</a4j:form>
</f:view></center>
</html>